package org.linlinjava.litemall.db.util;

/**
 * @author wj
 * @date 2021/11/13 10:13
 */
public enum LogisticsRfidStateEnum {
    /**
     * 0-初始化
     * 1-锁定,
     * 2-租,
     * 3-还,
     * 4-退,
     * 5-换,
     * 6-拒收,
     * 7-待租,
     * 8-待售,
     * 9-已售,
     * 10-下线
     * 11-维护中
     * 12-异常出库
     */

    INIT(0,"初始化"),
    LOCK(1,"锁定"),
    LEASE(2,"租"),
    BACK(3,"还"),
    RETURN(4,"退"),
    CHANGE(5,"换"),
    REFUSE(6,"拒收"),
    WAIT_LEASE(7,"待租"),
    WAIT_SALE(8,"待售"),
    IS_SALE(9,"已售"),
    OUTLINE(10,"下线"),
    MAINTIAN(11,"维护中"),
    UNNORMAL_OUT(12,"异常出库");

    private Integer code;

    private String message;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    LogisticsRfidStateEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    LogisticsRfidStateEnum() {
    }
}
